function timestampToDate(Timestamp) {
  let date = new Date(Timestamp);
  return date.toLocaleDateString().replace(/\//g, "-") + " " +
    date.toTimeString().substr(0, 8);
}
module.exports = { timestampToDate }; // ✅ 使用 CommonJS 导出